<?php
/**
 * Created by PhpStorm.
 * User: hp
 * Date: 2019/1/22
 * Time: 14:51
 */
namespace App\Http\Controllers;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
class DouyuController extends Controller {
    public function dou_index(){
        return view('Huya.new');
    }

    public function dou_take(Request $r)
    {

            $input=$r->except(['_token']);
            $re=DB::table('takes')->insert($input);


    }
}